package com.tancire.net.enums;

/**
 * 资源认证类型 0、简单授权 1、调用校验授权 2、加密授权 3、加密调用校验授权
 */
public enum SourceAuthTypeEnum {

    SIMPLE("0", "简单授权"),
    CALL_SIMPLE("1", "调用校验授权"),
    ENCRYPT("2", "加密授权"),
    CALL_ENCRYPT("3", "加密调用校验授权");

    private final String code;
    private final String info;

    SourceAuthTypeEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

}
